﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class SanPham
    {
         private int maSanPham;

        public int MaSanPham
        {
            get { return maSanPham; }
            set { maSanPham = value; }
        }

        private string tenSanPham;

        public string TenSanPham
        {
            get { return tenSanPham; }
            set { tenSanPham = value; }
        }

        private string cpu;

        public string CPU
        {
            get { return cpu; }
            set { cpu = value; }
        }
        private string ram;

        public string RAM
        {
            get { return ram; }
            set { ram = value; }
        }
        private string hdd;

        public string HDD
        {
            get { return hdd; }
            set { hdd = value; }
        }
        private string cardManHinh;

        public string CardManHinh
        {
            get { return cardManHinh; }
            set { cardManHinh = value; }
        }
        private string cd_DVD;

        public string CD_DVD
        {
            get { return cd_DVD; }
            set { cd_DVD = value; }
        }
        private string manHinh;

        public string ManHinh
        {
            get { return manHinh; }
            set { manHinh = value; }
        }
        private string mang;

        public string Mang
        {
            get { return mang; }
            set { mang = value; }
        }
        private string tichHop;

        public string TichHop
        {
            get { return tichHop; }
            set { tichHop = value; }
        }
        private string trongLuong;

        public string TrongLuong
        {
            get { return trongLuong; }
            set { trongLuong = value; }
        }
        private string pin;

        public string Pin
        {
            get { return pin; }
            set { pin = value; }
        }
        private string heDieuHanh;

        public string HeDieuHanh
        {
            get { return heDieuHanh; }
            set { heDieuHanh = value; }
        }
        private string thoiGianBaoHanh;

        public string ThoiGianBaoHanh
        {
            get { return thoiGianBaoHanh; }
            set { thoiGianBaoHanh = value; }
        }
        private string khuyenMai;

        public string KhuyenMai
        {
            get { return khuyenMai; }
            set { khuyenMai = value; }
        }
        private int gia;

        public int Gia
        {
            get { return gia; }
            set { gia = value; }
        }
        private int maNhaSanXuat;

        public int MaNhaSanXuat
        {
            get { return maNhaSanXuat; }
            set { maNhaSanXuat = value; }
        }
        private int maLoai;

        public int MaLoai
        {
            get { return maLoai; }
            set { maLoai = value; }
        }
      
    }
    public enum SanPhamColumn
    {
        MaSanPham,
        TenSanPham,
        CUP,
        RAM,
        HDD,
        CardManHinh,
        CD_DVD,
        ManHinh,
        Mang,
        TichHop,
        TrongLuong,
        Pin,
        HeDieuHanh,
        ThoiGianBaoHanh,
        KhuyenMai,
        Gia,
        MaNhaSanXuat,
        MaLoai
               
    }
    public class SanPhamCollection : List<SanPham>
    {
    }
}
    
